-
Home
-
External files in Media Library
-
1.3.0
-
Code
-
Classes
- External_File
Total Complexity |
42 |
Dependencies |
2 |
Dependents |
2 |
Total lines |
425 |
Lines of code |
151 |
Logical lines of code |
75 |
Comment lines |
212 |
Methods |
25 |
Properties |
6 |
Methods 25
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_url() |
S |
59 |
7 |
12 |
get_availability() |
S |
65 |
3 |
9 |
is_cached() |
S |
64 |
3 |
9 |
get_edit_url() |
S |
63 |
2 |
12 |
set_mime_type() |
S |
62 |
2 |
12 |
delete_cache() |
S |
74 |
2 |
5 |
get_file_extension() |
S |
68 |
2 |
7 |
get_title() |
S |
67 |
2 |
8 |
get_filesize() |
S |
68 |
2 |
7 |
set_filesize() |
S |
66 |
2 |
8 |
is_locally_saved() |
S |
77 |
1 |
3 |
get_cached_file_content() |
S |
70 |
1 |
6 |
get_cache_file() |
S |
72 |
1 |
5 |
add_cache() |
S |
68 |
1 |
7 |
set_is_local_saved() |
S |
75 |
1 |
4 |
__construct() |
S |
81 |
1 |
3 |
is_image() |
S |
80 |
1 |
3 |
get_attachment_url() |
S |
78 |
1 |
3 |
get_id() |
S |
82 |
1 |
3 |
set_availability() |
S |
75 |
1 |
4 |
get_mime_type() |
S |
80 |
1 |
3 |
set_title() |
S |
68 |
1 |
8 |
set_url() |
S |
75 |
1 |
4 |
set_id() |
S |
81 |
1 |
3 |
is_valid() |
S |
80 |
1 |
3 |